home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
090
/
cmln0386.arc
/
ADA3.LTG
< prev
next >
Wrap
Text File
|
1986-03-03
|
640b
|
23 lines
Listing 3
for i in 1..100 loop
for j in 1000..1009 loop
for k in 5..9 loop
x := z(1,j,k) * b ;
if x >10.0 then raise data_error;
end if ;
end loop ;
end loop ;
end loop ;
-- elsewhere
exception
data_error => statements to clean up error;
end ;
-- iεá structured programminτ aε erro≥ founΣ iε thσá inne≥á loo≡
-- mus⌠á bσ carrieΣ t∩ thσ oute≥ loo≡ b∙ ß flaτ oµ somσ sor⌠á anΣ
-- then queried as to its status